package com.lottery.material.entity.portaluser;

import com.lottery.material.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Description：删除文章记录表
 * Created by 朱正磊 on 2019-04-09 10:29
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "material_delete_article_record")
public class DeleteArticleRecord extends BaseEntity {

    private static final long serialVersionUID = 271918642147884170L;

    @Column(columnDefinition = "varchar(50) not null comment '用户id'")
    private String userId;

    @Column(columnDefinition = "int(11) not null comment '文章id'")
    private Integer articleId;

    @Column(columnDefinition = "int(1) comment '删除类型（1：圈务删除；2：自己删除）'")
    private Integer deleteType;

    @Column(columnDefinition = "varchar(50) comment '删除理由'")
    private String deleteReason;

}
